<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0049)http://www.helenkellersinstitute.org/sitemap.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Welcome to Helen Keller's Institute</title>
<link href="./Welcome to Helen Keller's Institute_files/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" async="" src="./Welcome to Helen Keller's Institute_files/ga.js"></script><script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-8968519-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div id="main">
<div id="banner">
<div id="bannerleft">
</div>
<div id="bannerright">
</div>
</div>
<div id="menu">
<ul>
<li><a href="http://www.helenkellersinstitute.org/about%20us.html">Home</a>
<li><a href="http://www.helenkellersinstitute.org/about%20us.html">Java</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/facility.html">CoreJava</a></li>
<li><a href="http://www.helenkellersinstitute.org/faculty.html">Jdbc</a></li>
<li><a href="http://www.helenkellersinstitute.org/executive%20committe.html">Servlets</a></li>
<li><a href="http://www.helenkellersinstitute.org/successstories.html">Jsp</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">Jstl</a></li>
<li><a href="http://www.helenkellersinstitute.org/facility.html">Jms</a></li>
<li><a href="http://www.helenkellersinstitute.org/successstories.html">Ajax</a></li>
<li><a href="http://www.helenkellersinstitute.org/r&w.html">Xml</a></li>
</ul>
<li><a href="http://www.helenkellersinstitute.org/courses.html">FrameWorks</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/speech%20and%20hearing.html">Struts 1.x</a></li>
<li><a href="http://www.helenkellersinstitute.org/speech%20and%20hearing.html">Struts 2.x</a></li>
<li><a href="http://www.helenkellersinstitute.org/special%20edu.html">Hibernate</a></li>
<li><a href="http://www.helenkellersinstitute.org/mba.html">Spring</a></li>
<li><a href="http://www.helenkellersinstitute.org/hearing%20impired.html">Ibatis</a></li>
<li><a href="http://www.helenkellersinstitute.org/special%20school.html">Jsf</a></li>
<li><a href="http://www.helenkellersinstitute.org/r&w.html">Webservices</a></li>
<li><a href="http://www.helenkellersinstitute.org/vip.html">Soa</a></li>
</ul>
<li><a href="http://www.helenkellersinstitute.org/courses.html">Tools</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/speech%20and%20hearing.html">Ant</a></li>
<li><a href="http://www.helenkellersinstitute.org/special%20edu.html">Cvs</a></li>
<li><a href="http://www.helenkellersinstitute.org/mba.html">Log4j</a></li>
<li><a href="http://www.helenkellersinstitute.org/hearing%20impired.html">Junit</a></li>
<li><a href="http://www.helenkellersinstitute.org/special%20school.html">Jasper reports</a></li>
<li><a href="http://www.helenkellersinstitute.org/r&w.html">I reports</a></li>
<li><a href="http://www.helenkellersinstitute.org/r&w.html">Lucene</a></li>
<li><a href="http://www.helenkellersinstitute.org/r&w.html">ITextPdf</a></li>
</ul>
</li>
<li><a href="http://www.helenkellersinstitute.org/courses.html">DesignTools</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/speech%20and%20hearing.html">Html</a></li>
<li><a href="http://www.helenkellersinstitute.org/special%20edu.html">Css</a></li>
<li><a href="http://www.helenkellersinstitute.org/mba.html">JavaScript</a></li>
<li><a href="http://www.helenkellersinstitute.org/hearing%20impired.html">Jquery</a></li>
<li><a href="http://www.helenkellersinstitute.org/special%20school.html">Dojo</a></li>
</ul>
<li><a href="http://www.helenkellersinstitute.org/photogallery2.html">Servers</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/awards.html">Tomcat</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">Weblogic</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">WebSphere</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralcamps.html">Glassfish</a></li>
<li><a href="http://www.helenkellersinstitute.org/cultural.html">Jboss</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">Jetty</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">Reattore</a></li>
</ul>
<li><a href="http://www.helenkellersinstitute.org/photogallery2.html">IDE's</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">NetBeans</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralcamps.html">MyEclipse</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralcamps.html">JBuilder</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">EditPlus</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">DreamWeaver</a></li>
</ul>
<li><a href="http://www.helenkellersinstitute.org/photogallery2.html">Examples</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/awards.html">Jdbc</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">Sevlets&Jsp</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralcamps.html">Struts</a></li>
<li><a href="http://www.helenkellersinstitute.org/cultural.html">Hibernate</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralschool.html">Spring</a></li>
<li><a href="http://www.helenkellersinstitute.org/clippings.html">Webservices</a></li>
<li><a href="http://www.helenkellersinstitute.org/kadapa.html">JavaScript</a></li>
<li><a href="http://www.helenkellersinstitute.org/lions.html">Jquery</a></li>
<li><a href="http://www.helenkellersinstitute.org/vip.html">Dojo</a></li>
</ul>
<li><a href="http://www.helenkellersinstitute.org/photogallery2.html">InterviewQ&A</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/awards.html">My Experience</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">CoreJava</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralcamps.html">Jdbc</a></li>
<li><a href="http://www.helenkellersinstitute.org/cultural.html">Servlets</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralschool.html">Jsp</a></li>
<li><a href="http://www.helenkellersinstitute.org/clippings.html">Struts</a></li>
<li><a href="http://www.helenkellersinstitute.org/kadapa.html">Hibernate</a></li>
<li><a href="http://www.helenkellersinstitute.org/lions.html">Spring</a></li>
<li><a href="http://www.helenkellersinstitute.org/vip.html">Webservices</a></li>
</ul>
<li><a href="http://www.helenkellersinstitute.org/photogallery2.html">Exceptions</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">CoreJava</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralcamps.html">Jdbc</a></li>
<li><a href="http://www.helenkellersinstitute.org/cultural.html">Servlets</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralschool.html">Jsp</a></li>
<li><a href="http://www.helenkellersinstitute.org/clippings.html">Struts</a></li>
<li><a href="http://www.helenkellersinstitute.org/kadapa.html">Hibernate</a></li>
<li><a href="http://www.helenkellersinstitute.org/lions.html">Spring</a></li>
</ul>
<li><a href="http://www.helenkellersinstitute.org/photogallery2.html">More</a>
<ul>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">Practice</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralcamps.html">3+ exp tips</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralcamps.html">DS with java</a></li>
<li><a href="http://www.helenkellersinstitute.org/ruralcamps.html">SqlTutorial</a></li>
<li><a href="http://www.helenkellersinstitute.org/distribution.html">NoSql</a></li>
<li><a href="http://www.helenkellersinstitute.org/cultural.html">Unix</a></li>
<li><a href="http://www.helenkellersinstitute.org/cultural.html">Computer Tips</a></li>
</ul>
</li>
</div>
<div class="clear"></div>
<div id="bannermenu">
<div id="sidemenu">
<!--add 2-->
</div>
<div id="sidemenu">
<!--add 3-->
</div>

</div>
<div id="welcomemiddle">
<!--<hr>-->
<div id="addmenu">
<div id="searchmenu">
1
</div>
<div id="leftmenu">
2
</div>
<div id="leftmenu">
3
</div>
<div id="leftmenu">
4
</div>
<div id="leftmenu">
5
</div>
<div id="leftmenu">
6
</div>
<div id="leftmenu">
7
</div>
<div id="leftmenu">
8
</div>
<div id="leftmenu">
8
</div>
</div>

<div class="Bodycontent">
<br />
<div class="normalblack"><div class="sh1">
<br />
<table border="0" align="center">
<tr>
<td><Font COLOR="#585858"><b>Inner classes<br></font></td>
</tr>
</table>

  </div>
  <table border="0" align="right">
<tr>
<td><Font COLOR="#585858"><font color="#980000">Posted On : 01-july-1988</font></font></td>
</tr>
</table>

<br /><br/>
 <span class="span" /> If we write a class inside another class, such type of class is called 'inner class' .Without existing one type of object, if there is no chance to exist another type object then we have to go for inner class concept. For example, without home object there is no chance of existing room object. Inner class concept is introduced in java 1.1 version.<br />
  <div class="Example"> 
<pre><font face="Verdana, Geneva, sans-serif">
<font color="#0000ff">class </font><font color="#000000">Home </font>
<font color="#000000">{</font>
	<font color="#0000ff">class </font><font color="#000000">Room{ }</font>
<font color="#000000">}</font></font>
</pre>
</div>

 <br />
  <span class="span" />Based on the declaration position of inner class, inner classes are divided into into 4 types. Those are<br /><br />
 <span class="span" /> &#8226; 1) Normal (or) Regular inner classes
  <br />
 <span class="span" /> &#8226; 2) Method local inner classes
  <br />
 <span class="span" /> &#8226; 3) Anonymous inner classes
  <br />
 <span class="span" /> &#8226; 4) Static nested classes
</br><br/>
 <span class="span" />For outer classes we can aaply 'public, default, final, abstract, strictfp ' modifiers.For inner classes, along with above modifiers we can apply 'private, protected, static' also. We will see about above four types of inner classes in next articles.
<br />
<br /><br />
 <span style="padding-left:150px" /> <font color="#0000FF">Preveous</font><span style="padding-left:250px" /><font color="#0000FF">Next</font>                                <br /> <br /><br />        
</div>
</div>
</hr>
<!--<hr color="#D8D8D8">-->
<div id="midbanner">
<div id="midbannerleft"></div>
</div>
<!--<hr color="#D8D8D8">-->
<div class="Bodycontent">
<div class="normalblack"><div class="Bodycontent1"><Font COLOR="#585858"><b>Jdbc introduction</b></Font></div>
other. These types of threads are called as asynchronous threads. But
there are two problems may be occur with asynchronous threadsdfghh... <a href="http://www.yahoo.com" style="text-decoration: none;"><font color="#6666EE">ClickHere</font></a>
</div>


</div>
<div class="Bodycontent">
<div class="normalblack"><div class="Bodycontent1"><Font COLOR="#585858"><b>Jdbc introduction</b></Font></div>
other. These types of threads are called as asynchronous threads. But
there are two problems may be occur with asynchronous threadsdfghh... <a href="http://www.yahoo.com" style="text-decoration: none;"><font color="#6666EE">ClickHere</font></a>
</div>

</div>
<div class="Bodycontent">
<div class="normalblack"><div class="Bodycontent1"><Font COLOR="#585858"><b>Jdbc introduction</b></Font></div>
other. These types of threads are called as asynchronous threads. But
there are two problems may be occur with asynchronous threadsdfghh... <a href="http://www.yahoo.com" style="text-decoration: none;"><font color="#6666EE">ClickHere</font></a>
</div>

</div>
<div class="Bodycontent">
<div class="normalblack"><div class="Bodycontent1"><Font COLOR="#000000">Jdbc introduction</Font></div>
other. These types of threads are called as asynchronous threads. But
there are two problems may be occur with asynchronous threadsdfghh... <a href="http://www.yahoo.com" style="text-decoration: none;"><font color="#6666EE">ClickHere</font></a>
</div>

</div>
<div class="Bodycontent">
<div class="normalblack"><div class="Bodycontent1"><Font COLOR="#000000">Jdbc introduction</Font></div>
other. These types of threads are called as asynchronous threads. But
there are two problems may be occur with asynchronous threadsdfghh... <a href="http://www.yahoo.com" style="text-decoration: none;"><font color="#6666EE">ClickHere</font></a>
</div>

</div>
<div class="Bodycontent">
<div class="normalblack"><div class="Bodycontent1"><Font COLOR="#000000">Jdbc introduction</Font></div>
other. These types of threads are called as <b>asynchronous threads</b>. But
there are two problems may be occur with asynchronous threadsdfghh... <a href="http://www.yahoo.com" style="text-decoration: none;"><font color="#6666EE">ClickHere</font></a>
</div>

</div>
<div class="Bodycontent">
<div class="normalblack"><div class="Bodycontent1"><Font COLOR="#6666EE">Jdbc introduction</Font></div>
other. These types of threads are called as <b>asynchronous threads</b>. But
there are two problems may be occur with asynchronous threadsdfghh... <a href="http://www.yahoo.com" style="text-decoration: none;"><font color="#6666EE">ClickHere</font></a>
</div>

</div>
<div class="Bodycontent">
<div class="normalblack"><div class="Bodycontent1"><Font COLOR="#6666EE">Jdbc introduction</Font></div>
other. These types of threads are called as <b>asynchronous threads</b>. But
there are two problems may be occur with asynchronous threadsdfghh... <a href="http://www.yahoo.com" style="text-decoration: none;"><font color="#6666EE">ClickHere</font></a>
</div>

</div>
<div class="Bodycontent">
<div class="normalblack"><div class="Bodycontent1"><Font COLOR="#6666EE">Jdbc introduction</Font></div>
other. These types of threads are called as <b>asynchronous threads</b>. But
there are two problems may be occur with asynchronous threadsdfghh... <a href="http://www.yahoo.com" style="text-decoration: none;"><font color="#6666EE">ClickHere</font></a>
</div>

</div>
</hr>
<div id="botbanner">
<div id="botbannerleft"></div>
</div>
<div class="Bodycontent">
<div class="Comment">
<form>
<div class="Comment"><textarea name="comment" placeholder="Enter your comment here..."
style="width:238px; height:50px;"></textarea></div><div class="Comment"><input type="text" name="name" placeholder="name (required)..." style="width:238px; height:20px;"></div>
<div class="Comment"><input type="text" name="mailId" placeholder="Email id (required)..." style="width:238px; height:20px;"></div>
<div class="Submit"><input type="submit" value="submit" onclick="writeComment(this.form)"></div>
</form>
</div>
</div>
<hr>
</div>

<div id="footer_index" style="margin-left:-0px;">

<p class="footer">

<a href="http://www.helenkellersinstitute.org/Index.html">Home</a>  |  <a href="http://www.helenkellersinstitute.org/about%20us.html">About us</a>  |  <a href="http://www.helenkellersinstitute.org/objectives.html">Advertise</a>  |  <a  href="http://www.helenkellersinstitute.org/contact%20us.html">Contact us </a> <br>
Site Designed and Developed by -- SreenuValireddi -- Copyrights © -All Rights Reserved</p>
</div>
</div>
</div>
</body></html>